import numpy as np
arr = np.random.rand(2,3,4)
print(arr)
print('*'*35)
print(arr.flatten())